<%-- 
    Document   : spdcf_edititem
    Created on : Jan 7, 2009, 9:26:49 AM
    Author     : User
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
       <h2>Edit Item</h2>
        <form action="spdcf_productionSaveItem.do">
            <input type="hidden" name="id" value="<c:out value="${item.produk.id}"/>"/>
            <table>
                <tr>
                    <td>Code</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.kode}"/></td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.nama}"/></td>
                </tr>
                <tr>
                    <td>Weight</td>
                    <td>:</td>
                    <td><c:out value="${item.produk.weight}"/></td>
                </tr>
                <tr>
                    <td>Quantity</td>
                    <td>:</td>
                    <td><c:out value="${item.jumlah}"/>  </td>
                </tr>
                <tr>
                    <td>Price HPP</td>
                    <td>:</td>
                    <td><input type="text" name="priceHpp" value="<c:out value="${item.priceHpp}"/>"/></td>
                </tr>
                <tr>
                    <td>Margin Keuangan</td>
                    <td>:</td>
                    <td><c:out value="${item.marginKeuangan}"/></td>
                </tr>
                <tr>
                    <td>Note</td>
                    <td>:</td>
                    <td><c:out value="${item.note}"/></td>
                </tr>
            </table>           
            <br>
            <input type="submit" value="Edit"/>
        </form> 
    </body>
</html>
